package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.TransferLicenseDao;
import io.renren.modules.generator.entity.TransferLicenseEntity;
import io.renren.modules.generator.service.TransferLicenseService;



@Service("transferLicenseService")
public class TransferLicenseServiceImpl implements TransferLicenseService {
	@Autowired
	private TransferLicenseDao transferLicenseDao;
	
	@Override
	public TransferLicenseEntity queryObject(Integer id){
		return transferLicenseDao.queryObject(id);
	}
	
	@Override
	public List<TransferLicenseEntity> queryList(Map<String, Object> map){
		return transferLicenseDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return transferLicenseDao.queryTotal(map);
	}
	
	@Override
	public void save(TransferLicenseEntity transferLicense){
		transferLicenseDao.save(transferLicense);
	}
	
	@Override
	public void update(TransferLicenseEntity transferLicense){
		transferLicenseDao.update(transferLicense);
	}
	
	@Override
	public void delete(Integer id){
		transferLicenseDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		transferLicenseDao.deleteBatch(ids);
	}
	
}
